from building import * 
import os
import rtconfig

# get current dir path
cwd = GetCurrentDir()

src  = Glob('src/*.c')
inc = [cwd]
inc += [cwd + '/inc']

if GetDepend(['USER_USING_MFRC522_SAMPLE']):
    src += Glob('example/*.c')



group = DefineGroup('rc522', src, depend = ['USER_USING_MFRC522'], CPPPATH = inc)
Return('group')
